#!/usr/bin/env bash
DB=mktartcl_signup
USER=mktartcl_signadm
PASS=1armand
DB=mktartcl_signup
OUTPUT='logins.csv'

mysql -u $USER -p$PASS $DB -B -e "SELECT * FROM signmeup;"  | sed -e 's/\t/","/g;s/^/"/;s/$/"/;s/\n//g' -e '/NULL/d'> $OUTPUT
